{% extends "learning_logs/base.html" %}
{% block content %}
<div style="text-align:center;">
<p><a href="{% url 'learning_logs:topic' topic.id %}">{{ topic }}</a></p>
<p>编辑内容:</p>

<form action="{% url 'learning_logs:edit_entry' entry.id %}" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <button type="submit" class="btn btn-success">保存更改</button>
</form>
</div>
{% endblock content %}



